﻿using System;
using System.Net;
using System.Runtime.Serialization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace G.APITest.Config
{
    [DataContract]
    public class Paramter
    {
        [DataMember(Name = "Name")]
        public string Name { get; set; }

        [DataMember]
        public ParamterType ParamterType { get; set; }

        [DataMember(Name = "IsNull")]
        public bool IsNull { get; set; }

        [DataMember(Name = "Value")]
        public string Value { get; set; }

        [DataMember(Name = "Description")]
        public string Description { get; set; }

        [IgnoreDataMember]
        public byte[] FileBuffer { get; set; }
    }


    public enum ParamterType
    {
        String,
        Bool,
        Int,
        Double,
        ByteArray
    }
}
